package com.vcc.core.derive.admin;


import cn.idev.excel.annotation.ExcelProperty;
import cn.idev.excel.converters.longconverter.LongStringConverter;
import com.vcc.core.derive.converter.DateConverter;
import com.vcc.core.derive.converter.StatusConverter;
import com.vcc.core.derive.converter.rechargeLog.UseFlagConverter;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class DeriveWithdraw implements Serializable {

    @ExcelProperty(value = "id", index = 0, converter = LongStringConverter.class)
    private Long id;

    @ExcelProperty(value = "订单号")
    private String orderId;

    @ExcelProperty(value = "申请时间", converter = DateConverter.class)
    private Date requestDate;

    @ExcelProperty(value = "用户账号")
    private String account;

    @ExcelProperty(value = "申请提现金额")
    private BigDecimal amount;

    @ExcelProperty(value = "申请提现地址")
    private String address;

    @ExcelProperty(value = "汇款金额")
    private BigDecimal remittanceAmount;

    @ExcelProperty(value = "提现币种")
    private String currency;

    @ExcelProperty(value = "提现凭证")
    private String hash;

    @ExcelProperty(value = "提现网络")
    private String network;

    @ExcelProperty(value = "备注")
    private String remark;

    @ExcelProperty(value = "状态", converter = StatusConverter.class)
    private Integer status;

    @ExcelProperty(value = "审核时间", converter = DateConverter.class)
    private Date auditDate;

    @ExcelProperty(value = "审核账号")
    private String auditAccount;

    @ExcelProperty(value = "代理账号")
    private String dealerAccount;
}
